package com.feifan.common.utils.baiduai;

import com.baidu.aip.face.AipFace;
import com.feifan.common.config.BaiDuFace;

/**
 * 创建对象工具类
 * @author: Alex
 * @create: 2020-09-20 14:12
 **/
public class FaceClientUtil {

    private static AipFace aipFace;

    public static AipFace getClient() {
        aipFace = new AipFace(BaiDuFace.getAppId(), BaiDuFace.getApiKey(), BaiDuFace.getSecretKey());
        return aipFace;
    }
}
